﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MashGen.Engine.Expressions;

namespace MashGen.Engine.Matching
{
    internal class MatchPosition
    {
        public Mode Mode { get; private set; }
        public AbstractExpression Expression { get; private set; }

        public MatchPosition()
        {
            Mode = Mode.UnboundVariable;
        }

        public MatchPosition(Mode mode, AbstractExpression expression)
        {
            Mode = mode;
            Expression = expression;
        }
    }
}